package io.kiki.sba.registry.store.jdbc.domain;

import io.kiki.sba.registry.store.api.meta.DbEntry;

import java.util.Date;


public class AppRevisionDomain implements DbEntry {

    /**
     * primary key
     */
    private long id;

    /**
     * local data center
     */
    private String dataCenter;

    /**
     * revision
     */
    private String revision;

    /**
     * appName
     */
    private String appName;

    /**
     * clientVersion
     */
    private String clientVersion;

    /**
     * base_params
     */
    private String baseParams;

    /**
     * service_params
     */
    private String serviceParams;

    private String serviceParamsLarge;

    /**
     * create time
     */
    private Date gmtCreate;

    /**
     * last update time
     */
    private Date gmtModify;

    private boolean deleted;


    public long getId() {
        return id;
    }


    public void setId(long id) {
        this.id = id;
    }


    public String getDataCenter() {
        return dataCenter;
    }


    public void setDataCenter(String dataCenter) {
        this.dataCenter = dataCenter;
    }


    public String getRevision() {
        return revision;
    }


    public void setRevision(String revision) {
        this.revision = revision;
    }


    public String getAppName() {
        return appName;
    }


    public void setAppName(String appName) {
        this.appName = appName;
    }


    public String getBaseParams() {
        return baseParams;
    }


    public void setBaseParams(String baseParams) {
        this.baseParams = baseParams;
    }


    public String getServiceParams() {
        return serviceParams;
    }


    public void setServiceParams(String serviceParams) {
        this.serviceParams = serviceParams;
    }


    public Date getGmtCreate() {
        return gmtCreate;
    }


    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }


    public Date getGmtModify() {
        return gmtModify;
    }


    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }


    public String getClientVersion() {
        return clientVersion;
    }


    public void setClientVersion(String clientVersion) {
        this.clientVersion = clientVersion;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }


    public String getServiceParamsLarge() {
        return serviceParamsLarge;
    }

    public void setServiceParamsLarge(String serviceParamsLarge) {
        this.serviceParamsLarge = serviceParamsLarge;
    }
}
